﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UC_CustomerList_Update.ascx.cs"
    Inherits="Stationery.UC.UC_CustomerList_Update" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<table width="100%" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <dxwgv:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False"
                Width="100%">
                <Columns>
                    <dxwgv:GridViewDataTextColumn Caption="ID" VisibleIndex="0" Visible="False">
                    </dxwgv:GridViewDataTextColumn>
                    <dxwgv:GridViewDataTextColumn Caption="Tên khách hàng" FieldName="FULLNAME" VisibleIndex="0"
                        Width="150px">
                    </dxwgv:GridViewDataTextColumn>
                    <dxwgv:GridViewDataTextColumn Caption="Địa chỉ" FieldName="ADDRESS" VisibleIndex="1"
                        Width="300px">
                    </dxwgv:GridViewDataTextColumn>
                    <dxwgv:GridViewDataTextColumn Caption="Email" FieldName="EMAIL" VisibleIndex="2"
                        Width="200px">
                    </dxwgv:GridViewDataTextColumn>
                    <dxwgv:GridViewDataTextColumn Caption="Điện thoại" FieldName="PHONE" 
                        VisibleIndex="3">
                    </dxwgv:GridViewDataTextColumn>
                    <dxwgv:GridViewDataTextColumn Caption="Thành phố" VisibleIndex="4" 
                        FieldName="CITY">
                    </dxwgv:GridViewDataTextColumn>
                    <dxwgv:GridViewDataTextColumn Caption="Chức năng" VisibleIndex="5" Width="77px">
                        <DataItemTemplate>
                            <table align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        <asp:LinkButton ID="LinkButtonDelete" runat="server" BorderStyle="None" 
                                            CommandArgument='<%# Eval("ID") %>' OnClick="LinkButtonDelete_Click"><img 
                                            src="Image/Icon/delete.gif" /></asp:LinkButton>
                                    </td>
                                </tr>
                            </table>
                        </DataItemTemplate>
                    </dxwgv:GridViewDataTextColumn>
                </Columns>
                <Settings ShowFilterRow="True" />
            </dxwgv:ASPxGridView>
        </td>
    </tr>
</table>
